﻿using Volo.Abp.Modularity;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using MyBookStore.EntityFrameworkCore;

namespace MyBookStore.Application
{
    [DependsOn(typeof(AbpDddApplicationModule), typeof(AbpAutoMapperModule),typeof(MyBookStoreEntityFrameworkCoreModule))]
    public class MyBookStoreApplicationModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpAutoMapperOptions>(opt => {
                opt.AddProfile<MyBookStoreApplicationAutoMapperProfile>();
            });
        }
    }
}
